package com.computercourse.auth.repository;


import com.computercourse.framework.domain.ucenter.CicUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CicUserRepository extends JpaRepository<CicUser,String> {

    CicUser findCicUserByUsername(@Param("userName") String userName);


}
